<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <?php if(function_exists('include_stylesheets')){ include_stylesheets(); }?>
    <?php if(function_exists('include_javascripts')){ include_javascripts(); }?>
    <!-- <link rel="shortcut icon" href="/favicon.ico" /> -->
    <script type="text/javascript">var sf = {};</script>

  </head>
  <body>
<?php if(sfContext::getInstance()->getRequest()->hasParameter('title')) {?>
<style>
h1{
    display:none;
}
</style>
<script>
jQuery(function($){
    $('h1').html('<?php echo sfContext::getInstance()->getRequest()->getParameter('title')?>').show();
});
</script>
<?php } ?>
  	<?php include_partial('sfAdminDash/header') ?>
    <div<?php if(has_slot('sidebar')): ?> class="main"<?php endif; ?>>
<div id="sf_admin_container">
    <?php echo $sf_content ?>
    </div>
    
    </div>
    <?php if(has_slot('sidebar')): ?>
    <div class="sidebar">
    	<?php include_slot('sidebar'); ?>
    </div>
    <?php endif; ?>
    <div class="clear"></div>
    <?php include_partial('sfAdminDash/footer') ?>
  </body>
</html>
